import VideoPlayer from "@/components/VideoPlayer";

export default function PlayPage() {
    const videoUrl = "http://localhost:8080/hls/test.m3u8"; // 替换为实际的视频流地址

    return (
        <div>
            <h1 className="text-center text-2xl font-bold">课堂实时监测</h1>
            {/* 添加视频播放组件 */}
            <VideoPlayer url={videoUrl} />
        </div>
    );
}